package com.itheima.service;

import com.itheima.pojo.Student;
import com.itheima.pojo.User;
import org.apache.ibatis.annotations.Param;

import java.awt.print.Book;
import java.util.List;

/**
 * @author ChaunceyZhang
 */
public interface StudentService {


    User select(@Param("name") String name, @Param("password")  String password);

    Boolean save(Student student);

    Boolean update(Student student);

    Boolean delete(Integer id);

    Book findById(Integer id);

    List<Student> findAll();

}
